package com.wanxi.lambda;

public class AddAbleDemo {
    public static void main(String[] args) {

//        userAddAble((x, y) -> {
//            System.out.println("x和y相加等于" + (x + y));
//            return x + y;
//        });
        userAddAble(Integer::sum);
    }

    public static void userAddAble(AddAble addAble) {
        System.out.println("aaa");
    }
}
